package main

import (
	"encoding/gob"
	"github.com/astaxie/beego"
	"lazyops_go/models"
	_ "lazyops_go/routers"
	_ "lazyops_go/tasks"
	"lazyops_go/tools"
	_ "github.com/astaxie/beego/session/mysql"
)

func main() {
	//session 注册存储对象
	gob.Register([]models.MenuLevel{})
	//添加自定义模板函数
	tools.AddTmpFunc()
	beego.Run()
}



